package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.CsBuyRecord;
import com.ruoyi.system.domain.CsBuyRecordVo;

/**
 * 物品库存Service接口
 *
 * @author ruoyi
 * @date 2025-10-04
 */
public interface ICsBuyRecordService extends IService<CsBuyRecord> {
    /**
     * 查询物品库存
     *
     * @param id 物品库存主键
     * @return 物品库存
     */
    public CsBuyRecord selectCsBuyRecordById(String id);

    /**
     * 查询物品库存列表
     *
     * @param csBuyRecord 物品库存
     * @return 物品库存集合
     */
    public List<CsBuyRecord> selectCsBuyRecordList(CsBuyRecord csBuyRecord);

    /**
     * 新增物品库存
     *
     * @param csBuyRecord 物品库存
     * @return 结果
     */
    public int insertCsBuyRecord(CsBuyRecord csBuyRecord);

    /**
     * 修改物品库存
     *
     * @param csBuyRecord 物品库存
     * @return 结果
     */
    public int updateCsBuyRecord(CsBuyRecord csBuyRecord);

    /**
     * 批量删除物品库存
     *
     * @param ids 需要删除的物品库存主键集合
     * @return 结果
     */
    public int deleteCsBuyRecordByIds(String ids);

    /**
     * 删除物品库存信息
     *
     * @param id 物品库存主键
     * @return 结果
     */
    public int deleteCsBuyRecordById(String id);
}
